#include "rng.h"

#include <ctime>

namespace uzu
{
    RNG::RNG()
    {
        srand(time(NULL));
    }

    float RNG::Random() const
    {
        int value = rand();
        return value * 1.0 / RAND_MAX;
    }
}
